KEYCLOAK_ROLES = [
    {
        "id": "bf609631-cec9-4776-8715-baa3e50be901",
        "name": "default-roles-example",
        "description": "${role_default-roles}",
        "composite": True,
        "clientRole": False,
        "containerId": "a18ee71e-2991-4987-8a9b-2ee3a338455b",
        "attributes": {},
        "_composite_roles": [
            "d5065b68-e949-49a3-89c8-4d18b6ea951d",
            "858363de-710b-40f8-9086-d8b2f303dfc4",
            "7927ce46-0f40-4e00-b8bb-0c0c89594f8e",
            "809b60f0-9e8c-40f9-878c-98e5f92d8db2",
        ],
        "_direct_members": [
            "b34866c4-7c54-439d-82ab-f8c21bd2d81a",
            "ccd37f3c-57de-423a-879e-f376de2839ec",
        ],
    },
    {
        "id": "858363de-710b-40f8-9086-d8b2f303dfc4",
        "name": "offline_access",
        "description": "${role_offline-access}",
        "composite": False,
        "clientRole": False,
        "containerId": "a18ee71e-2991-4987-8a9b-2ee3a338455b",
        "attributes": {},
        "_direct_members": [],
    },
    {
        "id": "174ab56d-57be-413e-a8f7-d370091be3df",
        "name": "springfield-voter",
        "description": "Springfield voter",
        "composite": False,
        "clientRole": False,
        "containerId": "a18ee71e-2991-4987-8a9b-2ee3a338455b",
        "attributes": {},
        "_direct_members": [],
    },
    {
        "id": "7927ce46-0f40-4e00-b8bb-0c0c89594f8e",
        "name": "uma_authorization",
        "description": "${role_uma_authorization}",
        "composite": False,
        "clientRole": False,
        "containerId": "a18ee71e-2991-4987-8a9b-2ee3a338455b",
        "attributes": {},
        "_direct_members": [],
    },
    {
        "id": "f37468b5-e862-45de-aadd-735b3c640b43",
        "name": "delete-account",
        "description": "${role_delete-account}",
        "composite": False,
        "clientRole": True,
        "containerId": "fa694007-ef2d-46e4-8e36-257ba5c23308",
        "attributes": {},
        "_direct_members": [],
    },
    {
        "id": "d5065b68-e949-49a3-89c8-4d18b6ea951d",
        "name": "manage-account",
        "description": "${role_manage-account}",
        "composite": True,
        "clientRole": True,
        "containerId": "fa694007-ef2d-46e4-8e36-257ba5c23308",
        "attributes": {},
        "_composite_roles": ["23c5d05f-ffe4-456a-ac52-d1eef94eb2f7"],
        "_direct_members": [],
    },
    {
        "id": "23c5d05f-ffe4-456a-ac52-d1eef94eb2f7",
        "name": "manage-account-links",
        "description": "${role_manage-account-links}",
        "composite": False,
        "clientRole": True,
        "containerId": "fa694007-ef2d-46e4-8e36-257ba5c23308",
        "attributes": {},
        "_direct_members": [],
    },
    {
        "id": "e0028103-85ea-4994-b9ad-b5c8136b8e8a",
        "name": "manage-consent",
        "description": "${role_manage-consent}",
        "composite": True,
        "clientRole": True,
        "containerId": "fa694007-ef2d-46e4-8e36-257ba5c23308",
        "attributes": {},
        "_composite_roles": ["3346b9e9-0877-4252-85a8-5b510ccc9b1e"],
        "_direct_members": [],
    },
    {
        "id": "9ee8f144-012d-414b-a6e8-063a8f96ebea",
        "name": "view-applications",
        "description": "${role_view-applications}",
        "composite": False,
        "clientRole": True,
        "containerId": "fa694007-ef2d-46e4-8e36-257ba5c23308",
        "attributes": {},
        "_direct_members": [],
    },
    {
        "id": "3346b9e9-0877-4252-85a8-5b510ccc9b1e",
        "name": "view-consent",
        "description": "${role_view-consent}",
        "composite": False,
        "clientRole": True,
        "containerId": "fa694007-ef2d-46e4-8e36-257ba5c23308",
        "attributes": {},
        "_direct_members": [],
    },
    {
        "id": "146b3577-05a5-45f5-b484-6d4af235e8d8",
        "name": "view-groups",
        "description": "${role_view-groups}",
        "composite": False,
        "clientRole": True,
        "containerId": "fa694007-ef2d-46e4-8e36-257ba5c23308",
        "attributes": {},
        "_direct_members": [],
    },
    {
        "id": "809b60f0-9e8c-40f9-878c-98e5f92d8db2",
        "name": "view-profile",
        "description": "${role_view-profile}",
        "composite": False,
        "clientRole": True,
        "containerId": "fa694007-ef2d-46e4-8e36-257ba5c23308",
        "attributes": {},
        "_direct_members": [],
    },
    {
        "id": "034a8bed-4099-4f66-a9f4-e987421f909f",
        "name": "read-token",
        "description": "${role_read-token}",
        "composite": False,
        "clientRole": True,
        "containerId": "d042a0a5-1776-434a-a318-3f14ccd07ac9",
        "attributes": {},
        "_direct_members": [],
    },
    {
        "id": "e3440658-af5e-4997-ae64-02ee815920d1",
        "name": "create-client",
        "description": "${role_create-client}",
        "composite": False,
        "clientRole": True,
        "containerId": "6876f461-9d47-4880-ae05-15c7023fbada",
        "attributes": {},
        "_direct_members": [],
    },
    {
        "id": "1ab5d5aa-dc9c-4ac2-96e3-a84d2aa2b608",
        "name": "impersonation",
        "description": "${role_impersonation}",
        "composite": False,
        "clientRole": True,
        "containerId": "6876f461-9d47-4880-ae05-15c7023fbada",
        "attributes": {},
        "_direct_members": [],
    },
    {
        "id": "b10a459a-7814-40ab-8be9-462dac4431d1",
        "name": "manage-authorization",
        "description": "${role_manage-authorization}",
        "composite": False,
        "clientRole": True,
        "containerId": "6876f461-9d47-4880-ae05-15c7023fbada",
        "attributes": {},
        "_direct_members": [],
    },
    {
        "id": "b274683b-eb4a-4e59-8e28-c9da001ad842",
        "name": "manage-clients",
        "description": "${role_manage-clients}",
        "composite": False,
        "clientRole": True,
        "containerId": "6876f461-9d47-4880-ae05-15c7023fbada",
        "attributes": {},
        "_direct_members": [],
    },
    {
        "id": "4034a19c-8105-4c10-93f5-90fdf39a0a05",
        "name": "manage-events",
        "description": "${role_manage-events}",
        "composite": False,
        "clientRole": True,
        "containerId": "6876f461-9d47-4880-ae05-15c7023fbada",
        "attributes": {},
        "_direct_members": [],
    },
    {
        "id": "bdd15697-8ed0-4a4a-a4cc-8039c045de40",
        "name": "manage-identity-providers",
        "description": "${role_manage-identity-providers}",
        "composite": False,
        "clientRole": True,
        "containerId": "6876f461-9d47-4880-ae05-15c7023fbada",
        "attributes": {},
        "_direct_members": [],
    },
    {
        "id": "4165fbe4-cd67-45c8-9ed0-9d097ba51715",
        "name": "manage-realm",
        "description": "${role_manage-realm}",
        "composite": False,
        "clientRole": True,
        "containerId": "6876f461-9d47-4880-ae05-15c7023fbada",
        "attributes": {},
        "_direct_members": [],
    },
    {
        "id": "ffa8570e-95a9-4962-8b76-357546ca5dac",
        "name": "manage-users",
        "description": "${role_manage-users}",
        "composite": False,
        "clientRole": True,
        "containerId": "6876f461-9d47-4880-ae05-15c7023fbada",
        "attributes": {},
        "_direct_members": [],
    },
    {
        "id": "86969f53-cbfe-403f-9dc4-590008d1a4fc",
        "name": "query-clients",
        "description": "${role_query-clients}",
        "composite": False,
        "clientRole": True,
        "containerId": "6876f461-9d47-4880-ae05-15c7023fbada",
        "attributes": {},
        "_direct_members": [],
    },
    {
        "id": "1cc0f04e-9205-4350-b8ad-53d2ad39aaa9",
        "name": "query-groups",
        "description": "${role_query-groups}",
        "composite": False,
        "clientRole": True,
        "containerId": "6876f461-9d47-4880-ae05-15c7023fbada",
        "attributes": {},
        "_direct_members": [],
    },
    {
        "id": "dd5f6ccd-2757-43c2-9aef-00848777a52b",
        "name": "query-realms",
        "description": "${role_query-realms}",
        "composite": False,
        "clientRole": True,
        "containerId": "6876f461-9d47-4880-ae05-15c7023fbada",
        "attributes": {},
        "_direct_members": [],
    },
    {
        "id": "1d34f59d-7791-4d63-85de-ced2d74c5be1",
        "name": "query-users",
        "description": "${role_query-users}",
        "composite": False,
        "clientRole": True,
        "containerId": "6876f461-9d47-4880-ae05-15c7023fbada",
        "attributes": {},
        "_direct_members": [],
    },
    {
        "id": "a3071b12-0399-46df-91db-554dd690d3b5",
        "name": "realm-admin",
        "description": "${role_realm-admin}",
        "composite": True,
        "clientRole": True,
        "containerId": "6876f461-9d47-4880-ae05-15c7023fbada",
        "attributes": {},
        "_composite_roles": [
            "e3440658-af5e-4997-ae64-02ee815920d1",
            "1ab5d5aa-dc9c-4ac2-96e3-a84d2aa2b608",
            "b10a459a-7814-40ab-8be9-462dac4431d1",
            "b274683b-eb4a-4e59-8e28-c9da001ad842",
            "4034a19c-8105-4c10-93f5-90fdf39a0a05",
            "bdd15697-8ed0-4a4a-a4cc-8039c045de40",
            "4165fbe4-cd67-45c8-9ed0-9d097ba51715",
            "ffa8570e-95a9-4962-8b76-357546ca5dac",
            "86969f53-cbfe-403f-9dc4-590008d1a4fc",
            "1cc0f04e-9205-4350-b8ad-53d2ad39aaa9",
            "dd5f6ccd-2757-43c2-9aef-00848777a52b",
            "1d34f59d-7791-4d63-85de-ced2d74c5be1",
            "56e730f2-3c2d-40b4-bb25-d2e1a568ee85",
            "326c1d2d-8105-4f7a-920f-76566d2a4537",
            "264c76e4-0c1a-4c50-8501-3da6990150cd",
            "69975539-73a6-4a9f-bd3c-13f4c27cf2b5",
            "d823fe4a-9b6e-4c76-9a43-94ffe380418f",
            "8f709fca-a593-4652-b573-87ba880a4299",
        ],
        "_direct_members": [],
    },
    {
        "id": "56e730f2-3c2d-40b4-bb25-d2e1a568ee85",
        "name": "view-authorization",
        "description": "${role_view-authorization}",
        "composite": False,
        "clientRole": True,
        "containerId": "6876f461-9d47-4880-ae05-15c7023fbada",
        "attributes": {},
        "_direct_members": [],
    },
    {
        "id": "326c1d2d-8105-4f7a-920f-76566d2a4537",
        "name": "view-clients",
        "description": "${role_view-clients}",
        "composite": True,
        "clientRole": True,
        "containerId": "6876f461-9d47-4880-ae05-15c7023fbada",
        "attributes": {},
        "_composite_roles": ["86969f53-cbfe-403f-9dc4-590008d1a4fc"],
        "_direct_members": [],
    },
    {
        "id": "264c76e4-0c1a-4c50-8501-3da6990150cd",
        "name": "view-events",
        "description": "${role_view-events}",
        "composite": False,
        "clientRole": True,
        "containerId": "6876f461-9d47-4880-ae05-15c7023fbada",
        "attributes": {},
        "_direct_members": [],
    },
    {
        "id": "69975539-73a6-4a9f-bd3c-13f4c27cf2b5",
        "name": "view-identity-providers",
        "description": "${role_view-identity-providers}",
        "composite": False,
        "clientRole": True,
        "containerId": "6876f461-9d47-4880-ae05-15c7023fbada",
        "attributes": {},
        "_direct_members": [],
    },
    {
        "id": "d823fe4a-9b6e-4c76-9a43-94ffe380418f",
        "name": "view-realm",
        "description": "${role_view-realm}",
        "composite": False,
        "clientRole": True,
        "containerId": "6876f461-9d47-4880-ae05-15c7023fbada",
        "attributes": {},
        "_direct_members": [],
    },
    {
        "id": "8f709fca-a593-4652-b573-87ba880a4299",
        "name": "view-users",
        "description": "${role_view-users}",
        "composite": True,
        "clientRole": True,
        "containerId": "6876f461-9d47-4880-ae05-15c7023fbada",
        "attributes": {},
        "_composite_roles": [
            "1cc0f04e-9205-4350-b8ad-53d2ad39aaa9",
            "1d34f59d-7791-4d63-85de-ced2d74c5be1",
        ],
        "_direct_members": [],
    },
    {
        "id": "b31f09b1-18f1-42b0-bbd4-4da5134da573",
        "name": "powerplant-employee",
        "description": "",
        "composite": False,
        "clientRole": True,
        "containerId": "92b51cf6-e996-4263-b375-67bcf9bab926",
        "attributes": {},
        "_direct_members": [],
    },
]

KEYCLOAK_ROLES_MAPPING = {
    "e273eb7c-6ed1-427a-b292-d70d0fe6d6a1": {
        "realmMappings": [
            {
                "id": "174ab56d-57be-413e-a8f7-d370091be3df",
                "name": "springfield-voter",
                "description": "Springfield voter",
                "composite": False,
                "clientRole": False,
                "containerId": "a18ee71e-2991-4987-8a9b-2ee3a338455b",
            }
        ]
    },
    "1dc4ab12-3048-43eb-88f0-8cd46aa39b05": {},
    "c51245de-fac8-4b86-89f4-452466ae4987": {},
    "2d557704-531d-479b-9720-c548985742a0": {},
    "17f2be1d-e95a-4f55-b56e-c60576f5cbf6": {
        "clientMappings": {
            "springfield-powerplant": {
                "id": "92b51cf6-e996-4263-b375-67bcf9bab926",
                "client": "springfield-powerplant",
                "mappings": [
                    {
                        "id": "b31f09b1-18f1-42b0-bbd4-4da5134da573",
                        "name": "powerplant-employee",
                        "description": "",
                        "composite": False,
                        "clientRole": True,
                        "containerId": "92b51cf6-e996-4263-b375-67bcf9bab926",
                    }
                ],
            }
        }
    },
    "b3e8d836-8a10-4e42-bb8d-991bf18e7130": {},
    "c066c2ec-b4f9-4416-a8ca-e0f11df3c84c": {},
    "b6853ac9-a428-4cdc-a61e-0147c8f37fc5": {
        "realmMappings": [
            {
                "id": "858363de-710b-40f8-9086-d8b2f303dfc4",
                "name": "offline_access",
                "description": "${role_offline-access}",
                "composite": False,
                "clientRole": False,
                "containerId": "a18ee71e-2991-4987-8a9b-2ee3a338455b",
            }
        ]
    },
    "2e97d81f-2df1-47e0-8d6d-c0adfd3948f4": {},
    "f312d0c8-a00c-4651-b1de-11c568df7422": {},
    "cedca2b9-9637-4477-8546-e7e65547c0f4": {},
    "0908dc73-29f1-4374-851e-fce191204d72": {},
    "b49bbd00-3ea0-4177-bf5e-eb33a1b11b51": {},
    "3729a739-d111-435f-8425-24596d4beae5": {},
    "7f477610-425d-4836-b615-1a3b37d00773": {},
    "e824414b-facb-4277-90c1-a187b589ed7b": {},
}
